import request from '@/utils/request'

// 查询方案优势列表
export function listSolutionadvantage(query) {
  return request({
    url: '/tianqi/solutionadvantage/list',
    method: 'get',
    params: query
  })
}

// 查询方案优势详细
export function getSolutionadvantage(id) {
  return request({
    url: '/tianqi/solutionadvantage/' + id,
    method: 'get'
  })
}

// 新增方案优势
export function addSolutionadvantage(data) {
  return request({
    url: '/tianqi/solutionadvantage',
    method: 'post',
    data: data
  })
}

// 修改方案优势
export function updateSolutionadvantage(data) {
  return request({
    url: '/tianqi/solutionadvantage',
    method: 'put',
    data: data
  })
}

// 删除方案优势
export function delSolutionadvantage(id) {
  return request({
    url: '/tianqi/solutionadvantage/' + id,
    method: 'delete'
  })
}
